
package com.azxc.rapid.plus.user.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import lombok.Data;

/**
 * 用户和企业关系表实体类
 *
 * @since 2021-05-25
 */
@Data
@TableName("rapid_user_entity")
@ApiModel(value = "UserEntity对象", description = "用户和企业关系表")
public class UserEntity implements Serializable {

  private static final long serialVersionUID = 1L;

  /**
   * 主键
   */
  @ApiModelProperty(value = "主键")
  private Long id;
  /**
   * 用户id
   */
  @ApiModelProperty(value = "用户id")
  private Long userId;
  /**
   * 父主键
   */
  @ApiModelProperty(value = "父主键")
  private Long entityId;

  @ApiModelProperty(value = "子系统服务code")
  private String serviceCode;
}
